Part Number Hot Search : 
UV131 03Z3RAC MC68HC0 5Q0565RT SCL4010B ST25VF 4D18R Z4B91
Product Description
Full Text Search
 

To Download FT2232D Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  copyright ? 2010 future technology devices international limited 1 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 future technology devices international ltd FT2232D dual usb to serial uart/fifo ic the ft 2232d is a dual usb to serial uart or fifo interface with the following advanced features: single chip usb to dual channel serial / parallel ports with a variety of configurations. entire usb protocol handled on the chip. no usb specific firmware programming required. transfer data rate 300 to 3 mbaud. usb to parallel fifo transfer data rate up to 1 megabyte / second. multi - protocol synchronous serial engine ( mpsse ) to simplify synchronous serial protocol ( usb to jtag, usb to i 2 c , usb to spi) design. cpu - style fifo interface mode simplifies cpu interface design. mcu host bus emulation mode configuration option. fast opto - isolated serial interface option. ftdi?s royalty highly integrated design includes 3.3v ldo regulator for usb i/o, integrated por function and on chip clock multiplier pll (6mhz C asynchronous serial uart interface option with full hardware handshaking and modem interface signals. enhanced bit - bang mode interface option with rd# and wr# strobes . configurable i/o drive strength. fully assisted hardware or x - on / x - off software handshaking. uart interface supports 7/8 bit data, 1/2 stop bits, and odd/even/mark/space/no parity. operational configuration mode and usb description strings configurable in external eeprom over the usb interface. low operating and usb suspend current. supports bus powered, self powered and high - power bu s powered usb configurations. uhci/ohci/ehci host controller compatible. usb 2.0 full speed (12mbits/second) compatible. extended - 40c to 85c industrial operating temperature range. compact 48 - ld lead free lqfp package +4.35v to +5.25v single supply operating voltage range. dedicated windows dlls available for usb to jtag, usb to spi, and usb to i 2 c applications. esd protection for FT2232D io?s neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or re produced in any material or electronic form without the prior written consent of the copyright holder. this product and its documen tation are supplied on an as - is basis and no warranty as to their suitability for any particular purpose is either made or implied. future technology devices international ltd will not accept any claim for damages howsoever arising as a result of use or fa ilure of this product. your statutory rights are not affected. this product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injur y. this document provides preliminary information that may be subject to change without notice. no freedom to use patents or other intellectual property rights is implied by the publication of this document. future technology devices international ltd, uni t 1, 2 seaward place, centurion business park, glasgow, g41 1hh, united kingdom. scotland registered number: sc136640
copyright ? 2010 future technology devices international limited 2 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 1 typical applications usb to dual port rs232 converters usb to dual port rs422 / rs485 converters upgrading legacy peripheral designs to usb usb instrumentation usb jtag programming usb to spi bus interfaces usb industrial control field upgradable usb products galvanically isolated products with usb interface usb to synchronous serial interface cellular and cordless phone usb data transfer cables and interfaces. usb audio and low bandwidth video data transfer pda to usb data transfer usb smart card readers usb instrumentation usb industrial control usb mp3 player interface usb flash card reader / writers set top box pc - usb interf ace usb digital camera interface usb bar code readers interfacing mcu / pld / fpga based designs to usb 1.0 driver support the FT2232D requires usb drivers (listed below ), available free from http://www.ftdichip.com , which are used to make the FT2232D appear as a virtual com port (vcp). this then allows the user to communicate with the usb interface via a standard pc serial emulation port (for example tty). another ftdi usb driver, the d2xx driver, can also be used wit h application software to directly access the FT2232D though a dll. royalty free virtual com port (vcp) drivers for... windows 98, 98se, me, 2000, server 2003, xp and server 2008 windows xp and xp 64 - bit windows vista and vista 64 - bit windows xp embedded windows ce 4.2, 5.0 and 6.0 mac os 8/9, os - x windows 7 32,64 bit linux 2.4 and greater royalty free d2xx direct drivers (usb drivers + dll s/w interface) windows 98, 98se, me, 2000, server 2003, xp and server 2008 windows xp and xp 64 - bit windows vista and vista 64 - bit windows xp embedded windows ce 4.2, 5.0 and 6.0 windows 7 32,64 bit linux 2.4 and greater for driver installation, please refer to the application note an232b - 10 . 1.1 part numbers part number package FT2232D 48 pin lqfp table 1 . 1 part numbers
copyright ? 2010 future technology devices international limited 3 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 1.2 usb compliant the FT2232D is fully compliant with the usb 2.0 specification and has been given t he usb - if test - id (tid) 40680003 .
copyright ? 2010 future technology devices international limited 4 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 2 FT2232D block diagram figure 2 . 1 FT2232D block diagram for a description of each function please refer to section 4.1 .
copyright ? 2010 future technology devices international limited 5 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 table of contents 1 typical applications ................................ ................................ ........ 2 1.0 driver support ................................ ................................ .................... 2 1.1 part numbers ................................ ................................ ...................... 2 1.2 usb complian t ................................ ................................ .................... 3 2 FT2232D block diagram ................................ ................................ .. 4 3 device pin out and signal description ................................ ............ 7 3.0 48 - pin lqfp package ................................ ................................ .......... 7 3.1 pin out description ................................ ................................ ............. 8 3.2 common pins ................................ ................................ ...................... 8 3.3 io pin definit ions by chip mode ................................ .......................... 10 3.4 io mode command hex values ................................ .......................... 12 4 function description ................................ ................................ ..... 13 4.0 key features ................................ ................................ ..................... 13 4.1 functional b lock descriptions ................................ ........................... 15 5 devices characteristics and ratings ................................ .............. 16 5.0 absolute maximum ratings ................................ ............................... 16 5.1 dc characteristics ................................ ................................ ............. 17 5.2 esd tolerance ................................ ................................ ................... 20 6 usb power configurations ................................ ............................ 21 6.0 us b bus powered configuration ................................ ...................... 21 6.1 usb self powered configuration ................................ ...................... 22 6.2 interfacing to 3.3v logic ................................ ................................ ... 23 6. 3 power switching configuration ................................ ......................... 25 7 standard device configuration examples ................................ ...... 27 7.0 oscillator configurations ................................ ................................ .. 27 7. 1 eeprom configurations ................................ ................................ .... 29 8 signal descriptions by io mode and interface channel configurations ................................ ................................ .................... 31 8.0 232 uart interface mode signal descriptions and interface configurations ................................ ................................ ........................... 31 8.1 232 uart mode led interface ................................ ........................... 35 8.2 245 fifo interface mode signal descriptions and interface configurations ................................ ................................ ........................... 37 8.3 245 fifo mode timing diagram ................................ ........................ 38 8.4 enhanced asynchronous and synchronous bit - bang m odes - signal description and interface configuration ................................ .................... 40
copyright ? 2010 future technology devices international limited 6 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.5 multi - protocol synchronous serial engine (mpsse) mode signal descriptions and interface configurations ................................ ................ 42 8.6 mcu host bus emulation mode signal descriptions and interface configuration ................................ ................................ ............................. 44 8.7 fast opto - isolated serial interface mode signal descriptions and interface configuration ................................ ................................ ............. 48 8.8 cpu fifo interface mode signal descriptions and configuration examples ................................ ................................ ................................ ... 52 9 package parameters ................................ ................................ ..... 56 10 contact i nformation ................................ ................................ ... 57 appendix a C references ................................ ................................ ........... 58 useful application notes and projects ................................ ....................... 58 appendix b - list of figures and tables ................................ ..................... 59 appendix c - revision history ................................ ................................ .... 61
copyright ? 2010 future technology devices international limited 7 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 3 device pin out and signal d escription 3.0 48 - pin lqfp package figure 3 . 1 48 pin lqfp package pin out and schematic symbol
copyright ? 2010 future technology devices international limited 8 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 3.1 pin out description this section describes the operation of the FT2232D pins. common pins are defined in the first section, and then the i/o pins are defined by chip mode. note: the convention used throughout this document for active low signals is the signal name followed by# 3.2 common pins the operation of the following FT2232D pins do not change regardless of the configured mode: - pin no. name type description 7 usbdp i/o usb data signal plus ( requires 1.5k pull - up to 3v3out or rstout# ) 8 usbdm i/o usb data signal minus table 3 . 1 .1 usb interface group pin no. name type description 48 eecs i/o eeprom C chip select. tri - state during device reset. **note 1 1 eesk output clock signal to eeprom. tri - state during device reset, else drives out. **note 1 2 eedata i/o eeprom C data i/o connect directly to data - in of the eeprom and to data - out of the eeprom via a 2.2k resistor. also, pull data - out of the eeprom to vcc via a 10k resistor for correct operation. tri - state during device reset. **note 1 table 3 . 2 .2 eeprom interface group pin no. name type description 4 reset# input can be used by an external device to reset the FT2232D. if not required, tie to vcc. **note 1 5 rstout# output output of the internal reset generator. drives low for 5.6 ms after vcc > 3.5v and the internal clock starts up, then clamps it?s output to the 3.3v output of the internal regulator. taking reset# low will also force rstout# to drive low. rstout# is not affected by a usb bus reset. 47 test input puts device into i.c. test mod e C must be tied to gnd for normal operation. 41 pwren# output goes low after the device is configured via usb, then high during usb suspend. can be used to control power to external logic using a p - channel logic level mosfet switch. enable the interface pull - down option in eeprom when using the pwren# pin in this way. 43 xtin input input to 6mhz crystal oscillator cell. this pin can also be driven by an external 6mhz clock if required. note: switching threshold of this pin is vcc/2, so if driving from an external source, the source must be driving at 5v cmos level or a.c. coupled to centre around vcc/2. 44 xtout output output from 6mhz crystal oscillator cell. xtout stops oscillating durin g usb suspend, so take care if using this signal to clock external logic. table 3 . 3 .3 miscellaneous signal group **note 1 - during device reset, these pins are tri - state but pulled up to vcc via internal 200k resistors.
copyright ? 2010 future technology devices international limited 9 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 pin no. name type description 6 3v3out output 3.3 volt output from the integrated l.d.o. regulator this pin should be decoupled to gnd using a 33nf ceramic capacitor in close proximity to the device pin. it?s prime purpose is to provide 3, 42 vcc pwr +4.35 volt to +5.25 volt vcc to the device core, ldo and non - uart / fifo controller interface pins. 14 vccioa pwr +3.0 volt to +5.25 volt vcc to the uart / fifo a channel interface pins 10..13, 15..17 and 19..24. when interfacing with 3.3v external logic in a bus powered design connect vccio to a 3.3v supply generated from the usb bus. when interfacing with 3.3v external logic in a self powered design connect vccio to the 3.3v supply of the external logic. otherwise connect to vcc to drive out at 5v cmos level. 31 vcciob pwr +3.0 volt to +5.25 volt vcc to the uart / fifo b channel interface pins 26..30, 32..33 and 35..40. when interfacing with 3.3v external logic in a bus powered design connect vccio to a 3.3v supply generated from the usb bus. when inter facing with 3.3v external logic in a self powered design connect vccio to the 3.3v supply of the external logic. otherwise connect to vcc to drive out at 5v cmos level. 9,18, 25, 34 gnd pwr device - ground supply pins 46 avcc pwr device - analog power supply for the internal x8 clock multiplier. a low pass filter consisting of a 470 ohm series resistor and a 100 nf to gnd should be used on the supply to this pin. 45 agnd pwr device - analog ground supply for the internal x8 clock multiplier table 3 . 4 .4 power and ground group
copyright ? 2010 future technology devices international limited 10 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 3.3 io pin definitions by chip mode the FT2232D will default to dual serial mode (232 uart mode on both channel a and b, if no external eeprom is used, or the external eeprom is blank. the definition of the following pins varies according to the chip?s mode: - channel a pin# generic pin name pin definitions by chip mode **note 2 232 uart mode 245 fifo enhanced asynchronous and synchronous serial mpsse **note 4 mcu host bus emulatio n mode **note 5 fast opto - isolated serial mode cpu fifo interfac e mode 24 adbus0 txd d0 d0 tck/sk ad0 **note 3 d0 d0 23 adbus1 rxd d1 d1 tdi/d0 ad1 d1 d1 22 adbus2 rts# d2 d2 tdo/di ad2 d2 d2 21 adbus3 cts# d3 d3 tms/cs ad3 d3 d3 20 adbus4 dtr# d4 d4 gpiol0 ad4 d4 d4 19 adbus5 dsr# d5 d5 gpiol1 ad5 d5 d5 17 adbus6 dcd# d6 d6 gpiol2 ad6 d6 d6 16 adbus7 ri# d7 d7 gpiol3 ad7 d7 d7 15 acbus0 txden rxf# wr# **note 6 gpioh0 i/o0 cs# cs# 13 acbus1 sleep# txe# rd# **note 6 gpioh1 i/o1 a0 a0 12 acbus2 rxled# rd# wr# **note 7 gpioh2 iordy rd# rd# 24 adbus0 txd d0 d0 tck/sk ad0 **note 3 d0 11 acbus3 txled# wr rd# **note 7 gpioh3 osc wr# wr# 10 si/wua si/wua si/wua si/wua **note 8 **note 8 **note 8 **note 8 table 3 . 5 .5 pin definition by chip mode (channel a) **note 2: 232 uart, 245 fifo, cpu fifo interface, and fast opto - isolated modes are enabled in the external eeprom. enhanced asynchronous and synchronous bit - bang modes, mpsse, and mcu host bus emulation modes are enabled using the driver comma nd set bit mode. see section 3.3 for details. **note 3: channel a can be configured in another io mode if channel b is in fast opto - isolated serial mode. if both channel a and channel b are in fast opto - isolated serial mode all of the io will be on channel b. **note 4: mpsse is channel a only. **note 5: mcu host bus emulation requires both channels. **note 6: the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is 245 fifo, cpu fifo interface, or fast opto - isolated serial modes. **note 7: the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is 232 uart mode.
copyright ? 2010 future technology devices international limited 11 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 **note 8: si/wu is not available in these modes . channel b pin# generic pin name pin definitions by chip mode **note 2 232 uart mode 245 fifo enhanced asynchronous and synchronous serial mpsse **note 4 mcu host bus emulatio n mode **note 5 fast opto - isolated serial mode cpu fifo interface mode 40 bdbus0 txd d0 d0 a8 fsdi d0 d0 39 bdbus1 rxd d1 d1 a9 fsclk d1 d1 38 bdbus2 rts# d2 d2 a10 fsdo d2 d2 37 bdbus3 cts# d3 d3 a11 fscts d3 d3 36 bdbus4 dtr# d4 d4 a12 **note 3 d4 d4 35 bdbus5 dsr# d5 d5 a13 d5 d5 33 bdbus6 dcd# d6 d6 a14 d6 d6 32 bdbus7 ri# d7 d7 a15 d7 d7 30 bcbus0 txden rxf# wr# **note 9 cs# cs# cs# 29 bcbus1 sleep# txe# rd# **note 9 ale a0 a0 28 bcbus2 rxled# rd# wr# **note 7 rd# rd# rd# 27 bcbus3 txled# wr rd# **note 7 wr# wr# wr# 26 si/wub si/wub si/wub si/wub **note 8 **note 8 si/wub **note 8 40 bdbus0 txd d0 d0 a8 fsdi d0 table 3 . 6 .6 pin definition by chip mode (channel b) **note 2: 232 uart, 245 fifo, cpu fifo interface, and fast opto - isolated modes are enabled in the external eeprom. enhanced asynchronous and synchronous bit - bang modes, mpsse, and mcu host bus emulation modes are enabled using the driver comm and set bit mode. see section 3.3 for details. **note 3: channel a can be configured in another io mode if channel b is in fast opto - isolated serial mode. if both channel a and channel b are in fast opto - isolated serial mode all of the io will be on channel b. **note 4: mpsse is channel a only. **note 5: mcu host bus emulation requires both channels. **note 6: the bit - bang mode (syn chronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is 245 fifo, cpu fifo interface, or fast opto - isolated serial modes. **note 7: the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pi ns when the main channel mode is 232 uart mode. **note 8: si/wu is not available in these modes . **note 9: the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is 245 fifo, cpu fifo interface. bit - bang mode is not available on channel b when fast opto - isolated serial mode is enabled.
copyright ? 2010 future technology devices international limited 12 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 3.4 io mode command hex values enhanced asynchronous and synchronous bit - bang modes, mpsse, and mcu host bus emulation modes are enabled using the d2xx driver command ft_setbitmode. the hex values used with this command to enable these modes are as follows - mode value (hex) reset the io bit mode 0 asynchronous bit bang mode 1 mpsse 2 synchronous bit bang mode 4 mcu host bus emulation 8 fast opto - isolated serial mode 10 table 3 . 7 .7 io mode command hex values see application note an2232 - 02 , bit mode functions for the FT2232D for more details and examples. note that all other device modes can be enabled in the external eeprom, and do not require these values to be configured. in the case of fast opto - isolated serial mode sending a value of 10 will hold this device mode in reset, and sending a value of 0 will release this mode from reset.
copyright ? 2010 future technology devices international limited 13 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 4 function description the FT2232D is a usb to serial uart interface device which incorporates the functionality of two of ftdi?s second generation ft232 bm and ft245bm chips into a single device. a single downstream usb port is converted to two io channels which can each be individually configured as a ft232bm - style uart interfac e, or a ft245bm - style fifo interface, without the need to add a usb hub. in addition a new high drive level option means that the device uart / fifo io pins will drive out at around three times the normal power level, meaning that the bus can be shared by several devices. 4.0 key features two individually configurable io channels : each of the FT2232D?s channels (a and b) can be individually configured as a ft232bm - style uart interface , or as a ft245bm - style fifo interface. in addition these channels can be co nfigured in a number of special io modes . integrated power - on - reset (por) circuit : the device incorporates an internal por function. a reset# pin is available to allow external logic to reset the device where required, however for most applications this pin can simply be hardwired to vcc. a rstout# pin is provided in order to allow the new por circuit to provide a stable reset to exter nal mcu and other devices. integrated rcclk circuit: used to ensure that the oscillator and clock multiplier pll frequency are stable prior to usb enumeration. integrated level converter on uart / fifo interface and control signals : each channel of the FT2232D has its own independent vccio pin that can be supplied by between 3v to 5v. this allows each ch annel?s output voltage drive level to be individually configured. thus allowing, for example 3.3v logic to be interfaced to the device without the need for external level converter i.c.?s. improved power management cont rol for high - power usb bus powered devices: the pwren# pin will become active when the device is enumerated by usb, and be deactivated when the device is in usb suspend. this can be used to directly drive a transistor or p - channel mosfet in applications wh ere power switching of external circuitry is required. the bm pull down enable feature (configured in the external eeprom) is also retained. this will make the device gently pull down on the fifo / uart io lines when the power is shut off (pwren# is high). in this mode any residual voltage on external circuitry is bled to gnd when power is removed, thus ensuring that external circuitry controlled by pwren# resets reliably when power is restored. send immediate / wake up signal pin on each channel: there is a send immediate / wake up (si/wu) signal pins on each of the chips channels. these combine two functions on one pin. if usb is in suspend mode (and remote wakeup is enabled in the eeprom), strobing this pin low will cause the device to request a resume from suspend (wakeup) on the usb bus. normally, this can be used to wake up the host pc. during normal operation, if this pin is strobed low any data in the device rx buffer will be sent out over usb on the next bulk - in request from the drivers regardless of the packet size. this can be used to optimise usb transfer speed for some applications . low suspend current: the suspend current of the FT2232D is typically under 100 a (excluding the 1.5k pull up resistor on usbdp) in usb suspend mode. this allows greater margin for peripherals to meet the usb suspend current limit of 500ua. programmable receive buffer timeout: the tx buffer timeout is programmable over usb in 1ms increme nts from 1ms to 255ms, thus allowing the device to be better optimised for protocols requiring faster response times from short data packets. relaxed vcc decoupling: the im proved level of vcc decoupling that was incorporated into bm devices has also been implemented in the FT2232D device. baud rate pre - scaler divisors : the FT2232D (uart mode) b aud rate pre - scaler supports division by (n+0), (n+0.125), (n+0.25), (n+0.375), (n+0.5), (n+0.625), (n+0.75) and (n+0.875) where n is an integer between 2 and 16,384 (2 14 ). extended eeprom support: the FT2232D supports 93c46 (64 x 16 bit), 93c56 (128 x 16 bit), and 93c66 (256 x 16 bit) eeproms. the extra space is not used by the device. however it is available for use by other external mcu / logic whilst the FT2232D is being held in reset. there is now an additional 64 words of space available (128bytes total) in the user area when a 93c56 or 93c66 is used. usb 2.0 (full speed option): an eeprom based option allows the f t2232d to return a usb 2.0 d evice descriptor as opposed to usb 1.1. note: the device would be a usb 2.0 full speed device (12mb/s) as opposed to a usb 2.0 high speed device (480mb/s).
copyright ? 2010 future technology devices international limited 14 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 in addition to the bm chip features, the FT2232D incorporates the following new features and interface modes: - enhanced asynchronous bit - bang interface: the FT2232D supports ftdi?s bm chip bit bang mode. in bit bang mode, the eight fifo data lines can be switched between fifo inter face mode and an 8 - bit parallel io port. data packets can be sent to the device and they will be sequentially sent to the interface at a rate controlled by an internal time (equivalent to the baud rate prescaler). with the FT2232D device this mode has been enhanced so that the internal rd# and wr# strobes are now brought out of the device which can be used to allow external logic to be clocked by accesses to the bit - bang io bus. synchronous bit - bang interface : synchronous bit - ba ng mode differs from asynchronous bit - bang mode in that the device is only read when it is written to. thus making it easier for the controlling program to measure the response to an output stimulus as the data returned is synchronous to the output data. high output drive level capability : the io interface pins can be made to drive out at three times the standard drive level thus allowing multiple devices, or devices that require a greater drive strength to be interfaced to the FT2232D. this opti on is configured in the external eeprom, ad can be set individually for each channel. multi - protocol synchronous serial en gine interface (m.p.s.s.e.) : the multi - protocol synchronous serial engine (mpsse) interface is a new option designed to interface efficiently with synchronous serial protocols such as jtag and spi bus. it is very flexible in that it can be configured for d ifferent industry standards, or proprietary bus protocols. for instance, it is possible to connect one of the FT2232D?s channels to an sram configurable fpga as supplied by vendors such as altera and xilinx. the fpga device would normally be un - configured (i.e. have no defined function) at power - up. application software on the pc could use the mpsse to download configuration data to the fpga over usb. this data would define the hardware?s function on power up. the other ft2232 channel would be available for other devices. this approach would allow a customer to create a generic usb peripheral, whose hardware function can be defined under control of the application software. the fpga based hardware could be easily upgraded or totally changed simply by chang ing the fpga configuration data file. (see ftdi?s morph - ic development module for a practical example, www.morph - ic.com ) mcu host bus emulation: this new mode combines the ?a? and ?b? bus interface to make the FT2232D interface emulate a standard 8048 / 8051 style mcu bus. this allows peripheral devices for these mcu families to be directly attached to the FT2232D with io being performed over usb with the help of mpsse interface technology. cpu - style fifo interface: the cpu style fifo interface is essentially the same function as the classic ft245 interface; however the bus signals have been redefined to make them easier to interface to a cpu bus. fast opto - isolated serial interface : a new proprietary ftdi protocol is designed to allow galvanically isolated devices to communicate synchronously with the FT2232D using just 4 signal wires (over two dual opto - isolators ), and two power lines. the peripheral circuitry controls the data transfer rate in both directions, whilst maintaining full data integrity. maximum usb full speed data rates can be achieved. both ?a? and ?b? channels can communicate over the same 4 wire i nterface if desired.
copyright ? 2010 future technology devices international limited 15 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 4.1 functional block descriptions the following paragraphs detail each function within the FT2232D. please refer to the block diagram shown in figure 2.1. 3.3v ldo regulator : the 3.3v ldo regulator generates the 3.3 volt reference voltage for driving the usb transceiver cell output buffers. it requires an external decoupling capacitor to be attached to the 3v3out regulator output pin. it also provides 3.3v power to the rstout# pin. the main function of this block is to pow er the usb transceiver and the reset generator cells rather than to power external logic. however, external circuitry requiring 3.3v nominal at a current of not greater than 5ma could also draw its power from the 3v3out pin if required usb transceiver: the usb transceiver cell provides the usb 1.1 or usb 2.0 full - speed physical interface to the usb cable. the output drivers provide 3.3 volt level slew rate control signalling, whilst a differential receiver and two single ended receivers provide usb data in, seo and usb reset condition detection. usb dpll: the usb dpll cell locks on to the incoming nrzi usb data and provides separate recovered clock and data signals to the sie block. 6mhz oscillator: the 6mhz oscillator cell generates a 6mhz reference clock i nput to the x8 clock multiplier from an external 6mhz crystal or ceramic resonator. x8 clock multiplier: the x8 clock multiplier takes the 6mhz input from the oscillator cell and generates a 48mhz reference clock for the usb dppl and the baud rate generator blocks. serial interface engine (sie): the serial interface engine (sie) block performs the parallel to serial and serial to parallel conversion of the usb data. in accordance to the usb 2.0 specification, it performs bit stuffing / un - stuffing and crc5 / crc16 generation / checking on the usb data stream. usb protocol engine: the usb protocol engine manages the data stream from the device usb control endpoint. it handles the low level usb protocol (chapter 9) requests generated by the usb host c ontroller and the commands for controlling the functional parameters of the uart / fifo controller blocks. dual port tx buffers (128 bytes): data from the usb data out endpoint is stored in the dual port tx buffer and removed from the buffer to the transmi t register under control of the uart fifo controller. dual port rx buffers (384 bytes): data from the uart / fifo controller receive register is stored in the dual port rx buffer prior to being removed by the sie on a usb request for data from the device d ata in endpoint. multi - purpose uart / fifo controllers : the multi - purpose uart / fifo controllers handle the transfer of data between the dual port rx and tx buffers and the uart / fifo transmit and receive registers. when configured as a uart it performs asynchronous 7 / 8 bit parallel to serial and serial to parallel conversion of the data on the rs232 (rs422 and rs485) interface. control signals supported by uart mode include rts, cts, dsr, dtr, dcd and ri. there are also transmitter enable control signa l pins (txden) provided to assist with interfacing to rs485 transceivers. rts/cts, dsr/dtr and xon/xoff handshaking options are also supported. handshaking, where required, is handled in hardware to ensure fast response times. the uart?s also supports the rs232 break setting and detection conditions. baud rate generator : the baud rate generator provides a x16 clock input to the uart?s from the 48mhz reference clock and consists of a 14 bit prescaler and 3 register bits which provide fine tuning of the baud rate (used to divide by a number plus a fraction). this determines the baud rate of the uart which is programmable from 183 baud to 3 million baud. reset generator : the reset generator cell provides a reliable power - on reset to the device internal circuitry on power up. an additional reset# input and rstout# output are provided to allow other devices to reset the FT2232D, or the FT2232D to reset other devices respectively. during reset, rstout# is driven low, otherwise it drives out at the 3.3v prov ided by the onboard regulator. rstout# can be used to control the 1.5k pull - up on usbdp directly where delayed usb enumeration is required. it can also be used to reset other devices. rstout# will stay high - impedance for approximately 5ms after vcc has risen above 3.5v and the device oscillator is running and reset# is high. reset# should be tied to vcc unless it is a requirement to reset the device from external logic or an external reset generator i.c. eeprom interface: when used without an exte rnal eeprom the FT2232D be configured as a usb to dual serial port device. adding an external 93c46 (93c56 or 93c66) eeprom allows each of the chip?s channels to be independently configured as a serial uart (232 mode), or a parallel fifo (245 mode). the external eeprom is used to enable the fast opto - isolated serial interface mode. the external eeprom can also be used to customise the usb vid, pid, serial number, product description strings and power descriptor value of the FT2232D for oem applications. o ther parameters controlled by the eeprom include remote wake up, soft pull down on power - off and usb 2.0 descriptor modes. the eeprom should be a 16 bit wide configuration such as a microchip 93lc46b or equivalent capable of a 1mb/s clock rate at vcc = 4. 35v to 5.25v. the eeprom is programmable - on board over usb using a utility program available from ftdi?s web site ( www.ftdichip. com ). this allows a blank part to be soldered onto the pcb and programmed as part of the m anufacturing and test process. if no eeprom is connected (or the eeprom is blank), the FT2232D will default to dual serial ports. the device uses its built - in default vid, pid product description and power descriptor value. in this case, the device will no t have a serial number as part of the usb descriptor.
copyright ? 2010 future technology devices international limited 16 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 5 devices characteristics and ratings 5.0 absolute maximum ratings these are absolute maximum ratings for the for the FT2232D device in accordance with the absolute maximum rating system (iec 60134). exceeding these may cause permanent damage to the device. parameter value unit storage temperature - 65c to 150c degrees c floor life (out of bag) at factory ambient (30c / 60% relative humidity) 192 (ipc/jedec j - std - 033a msl level 3 compliant) * *note 10 hours ambient temperature (power applied) - 40c to 85c degrees c vcc supply voltage - 0.5 to +6.00 v dc input voltage C C C C C body model) (i < 1a) table 5 . 1 absolute maximum ratings **note 10 if devices are stored out of the packaging beyond this time limit the devices should be baked before use. the devices should be ramped up to a temperature of 110 o c and baked for 8 to 10 hours.
copyright ? 2010 future technology devices international limited 17 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 5.1 dc characteristics dc characteristics (ambient temperature = - 40c to +85c) parameter description minimum typical maximum units conditions vcc1 vcc operating supply voltage 4.35 5.0 5.25 v vcc 2 vcc io operating supply voltage 3.0 - 5.25 v icc1 operating supply current --- 30 --- ma normal operation icc2 operating supply current --- 100 200 a **note 11 table 5 . 2 operating voltage and current **note 11 - supply current excludes the 200a nominal drawn by the external pull - up resistor on usbdp. parameter description minimum typical maximum units conditions voh output voltage high 3.2 4.1 4.9 v i source = 2ma vol output voltage low 0.3 0.4 0.6 v i sink = 2ma vin input switching threshold 1. 3 1.2 1.5 v vhys input switching hysteresis 50 25 30 mv table 5 . 3 io pin characteristics (vccio = 5.0v, standard drive level) **note 12 parameter description minimum typical maximum units conditions voh output voltage high 2.2 2.7 3.2 v i source = 1ma vol output voltage low 0.3 0.4 0.5 v i sink = 2ma vin input switching threshold 1.0 1.2 1.5 v vhys input switching hysteresis 20 25 30 mv table 5 . 4 io pin characteristics (vccio = 3.0v C 3.6v, standard drive level) **note 12
copyright ? 2010 future technology devices international limited 18 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 parameter description minimum typical maximum units conditions voh output voltage high 3.2 4.1 4.9 v i source vol output voltage low 0.3 0.4 0.6 v i sink = 6 ma vin input switching threshold 1.3 1.6 1.9 v vhys input switching hysteresis 50 55 60 mv table 5 . 5 io pin characteristics (vccio = 5.0v, high drive level) **note 12 and 13 parameter description minimum typical maximum units conditions voh output voltage high 2.2 2.8 3.2 v i source = 3ma vol output voltage low 0.3 0.4 0.6 v i sink = 8 ma vin input switching threshold 1.0 1.2 1.5 v vhys input switching hysteresis 20 25 30 mv table 5 . 6 io pin characteristics (vccio = 3.0v - 3.6v, high drive level) **note 12 and 13 **note 12: inputs have an internal 200k pull - up resistor to vccio, which can alternativly be programmed to pull down using a configuration bit in the external eeprom. **note 13 : the high output drive level is configured in the external eeprom. each channe l can be configured individually. parameter description minimum typical maximum units conditions voh output voltage high 4.0 - 5.0 v fosc = 6mhz vol output voltage low 0.1 - 1.0 v fosc = 6mhz vin input switching threshold 1.8 2.5 3.2 v voh output voltage high 4.0 - 5.0 v fosc = 6mhz table 5 . 7 xtin / xtout pin characteristics
copyright ? 2010 future technology devices international limited 19 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 parameter description minimum typical maximum units conditions voh output voltage high 3.2 4.1 4.9 v i source = 2ma vol output voltage low 0.3 0.4 0.6 v i sink = 2 ma vin input switching threshold 1.3 1.6 1.9 v vhys input switching hysteresis 50 55 60 mv table 5 . 8 reset# and test eecs, eesk, eedata pin characteristics **note 14 **note 14 - eecs, eesk, eedata and reset# pins have an internal 200k pull - up resistor to vcc parameter description minimum typical maximum units conditions voh output voltage high 3.0 - 3.6 v i source = 2ma vol output voltage low 0.3 - 0.6 v i sink = 2ma table 5 . 9 rstout# pin characteristics parameter description minimum typical maximum units conditions uvoh i/o pins static output (high) 2.8 - 3.6 v ri = 1.5k to 15k to gnd (d ri = 1.5k to 15k to gnd (d table 5 . 10 usb i/o pin (usbdp, usbdm) characteristics **note 15 **note 15 - driver output impedance includes the external 27r series resistors on usbdp and usbdm pins.
copyright ? 2010 future technology devices international limited 20 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 5.2 esd tolerance e sd protection for FT2232D io?s parameter reference minimum typical maximum units human body model (hbm) jedec eia/jesd22 - a114 - b, class 2 2kv kv machine mode (mm) jedec eia/jesd22 - a115 - a, class a 100v v charge device model (cdm) jedec eia/ jesd22 - c101 - d, class - iii 500v v latch - up jesd78, trigger class - ii 200ma ma table 5 . 11 esd tolerance
copyright ? 2010 future technology devices international limited 21 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 6 usb power configurations the following sections illustrate possible usb power configurations for the FT2232D. 6.0 usb bus powered configuration figure 6 . 1 bus powered configuration figure 6.1 illustrates the FT2232D in a typical usb bus powered configuration. a usb bus powered device gets its power from the usb bus. basic rules for usb bus power devices are as follows: - a) on plug - in, the device must draw no more than 100ma b) on usb suspen d the device must draw no more than 500a. c) a high power usb bus powered device (one that draws more than 100ma) should use the pwren# pin to keep the current below 100ma on plug - in and 500a on usb suspend. d) a device that consumes more than 100ma cannot be plugged into a usb bus powered hub e) no device can draw more that 500ma from the usb bus. the power descriptor in the eeprom should be programmed to match the current draw required by the device. a ferrite bead is connected in series with usb power to prevent noise from the device and associated circuitry (emi) being radiated down the usb cable to the host. the value of the ferrite bead depends on the total current required by the circuit - a suitable range of ferrite beads is availabl e from steward ( www.steward.com ) for example steward part # mi0805k400r - 00 also available from digikey, part # 240 - 1035 - 1.
copyright ? 2010 future technology devices international limited 22 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 6.1 usb self powered configuration figure 6 . 2 self powered configuration figure 6.2 illustrates the FT2232D in a typical usb self powered configuration. a usb self powered device gets its power from its own power supply and does not draw current from the usb bus. the basic rules for usb self power d evices are as follows C a) a self - powered device should not force current down the usb bus when the usb host or hub controller is powered down. b) a self powered device can take as much current as it likes during normal operation and usb suspend as it has its own power supply. c) a self powered device can be used with any usb host and b oth bus and self powered usb hubs. the usb power descriptor option in the eeprom should be programmed to a value of zero (self powered). to meet requirement a) the 1.5 k pull - up resistors on usbdp is connected to rstout# as per the bus - power circuit. howe ver, the usb bus power is used to control the reset# pin of the FT2232D device. when the usb host or hub is powered up rstout# will pull the 1.5k resistor on usbdp to 3.3v, thus identifying the device as a full speed device to usb. when the usb host or hub power is off, reset# will go low and the device will be held in reset. as reset# is low, rstout# will also be low, so no current will be forced down usbdp via the 1.5k pull - up resistor when the host or hub is powered down. failure to do this may cause som e usb host or hub controllers to power up erratically. note: when the FT2232D is in reset, the i/o interface pins all go tri - state. these pins have internal 200k pull - up resistors to vccio, so they will gently pull high unless driven by some external logic .
copyright ? 2010 future technology devices international limited 23 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 6.2 interfacing to 3.3v logic figure 6 . 3 bus powered circuit with 3.3v logic drive and io supply voltage figure 6.3 shows how to configure the FT2232D to interface with 3.3v logic devices. in this example, a discrete 3.3v regulator is used to supply the 3.3v logic from the usb supply. vccioa and vcciob are connected to the output of the 3.3v regulator, which in turn will cause the device interface io pins on both channels to drive out at 3.3v level. it is also possible to have one io interface channel driving out at 5v level, and the other at 3.3v level. in this case one of the vccio pins would be connected to 5v, and the other connected to 3.3v. for usb bus powered circuits some considerations have to be taken into account when selecting the regulator: - a) the regulator must be capable of sustaining its output voltage with an input voltage of 4.35 volts. a low drop out (ldo) regulator must be selected. b) the quiescent cur rent of the regulator must be low in order to meet the usb suspend total current requirement of <= 500a during usb suspend. an example of a regulator family that meets these requirements is the microchip (telcom) tc55 series. these devices can supply up to 250ma current and have a quiescent current of under 1a. in some cases, where only a small amount of current is required (< 5ma) , it may be possible to use the in - built regulator of the FT2232D to supply the 3.3v without any other components being requ ired. in this case, connect vccioa or vcciob to the 3v3out pin of the FT2232D. note: it should be emphasised that the 3.3v supply for vccio in a bus powered design with a 3.3v logic interface should come from an ldo which is supplied by the usb bus, or fr om the 3v3out pin of the ft232bm, and not from any other source. please also note that if the si/wu pins are not being used they should be pulled up to the same supply as their respective vccio pin.
copyright ? 2010 future technology devices international limited 24 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 6 . 4 self powered circuit with 3.3v logic drive and io supply voltage figure 6.4 is an example of a FT2232D usb self powered design with 3.3v interface. in this case the vccioa and vcciob pins are supplied by an external 3.3v supply in order to make both of the device?s io channels drive out at 3.3v logic level, thus allowing them to be connected to a 3.3v mcu or other external logic. it is also possible to have one io interface channel driving out at 5v level, and the other at 3.3v level. in this case one of the vccio pins would be connected to 5v, and the other connected to 3.3v. a usb self powered design uses its own power supplies, and does not draw any of its power from the usb bus. in such cases, no special care need be taken to meet the usb suspend c urrent (0.5 ma) as the device does not get its power from the usb port. as with bus powered 3.3v interface designs, in some cases, where only a small amount of current is required (<5ma), it may be possible to use the in - built regulator of the FT2232D to s upply the 3.3v without any other components being required. in this case, connect vccioa or vcciob to the 3v3out pin of the FT2232D. note that if the si/wu pins are not being used they should be pulled up to the same supply as their respective vccio pin.
copyright ? 2010 future technology devices international limited 25 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 6.3 power switching configuration figure 6 . 5 bus powered circuit with power control usb bus powered circuits need to be able to power down in usb suspend mode in order to meet the <= 500a total suspend current requirement (including external logic). some external logic can power itself down into a low current state by monitoring the pwren# pin. for external logic that cannot power itself down in that way, the FT2232D provides a simple but effecti ve way of turning off power to external circuitry during usb suspend. figure 6.5 shows how to use a discrete p - channel logic level mosfet to control the p ower to external logic circuits. a suitable device would be an international rectifier ( www.irf.com ) irlml6402, or equivalent. it is recommended that a soft start circuit consisting of a 1k series resistor and a 0.1 f c apacitor are used to limit the current surge when the mosfet turns on. without the soft start circuit there is a danger that the transient power surge of the mosfet turning on will reset the FT2232D, or the usb host / hub controller. the values used here a llow attached circuitry to power up with a slew rate of ~12.5 v per millisecond, in other words the output voltage will transition from gnd to 5v in approximately 400 microseconds. alternatively, a dedicated power swi tches i.c. with inbuilt soft - start can be used instead of a mosfet. a suitable power switch i.c. for such a n application would be a micrel ( www.micrel.com ) mic2025 - 2bm or equivalent. please note the following points in connection with power controlled designs: C a) the logic to b e controlled must have its own reset circuitry so that it will automatically reset itself when power is re - applied on coming out of suspend. b) set the pull - down on suspend option in the FT2232D ?s eeprom. c) for usb high - power bus powered device (one that consumes greater than 100 ma, and up to 500 ma of current from the usb bus), the power consumption of the device should be set in the max powe r field in the eeprom. a high - power bus powered device must use this descriptor in the eeprom to inform the system of its power requirements. d) for 3.3v power controlled circuits the vccio pin s must not be powered down with the external circuitry. either connect the power switch between the output of the 3.3v regulator and the external 3.3v logic, or if appropriate power the vccio pin from the 3v3out pin of the FT2232D.
copyright ? 2010 future technology devices international limited 26 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 6 . 6 bus powered circuit with power control and 3.3v logic drive/ io supply voltage figure 6.6 is a FT2232D design example which effectively combines the circuits shown in figures 6.4 and 6.5 to give a usb bus powered design with power switching and 3.3v logic drive level on both channels. once again a p - channel power mosfet and soft start circuit are used to control the power to external logic devices. a 3.3v ldo regulator which is supplied b y the usb bus is used to provide the 3.3v supply for the vccio pins, as well as the external logic. if the si/wu pins are not being used they should be pulled up to 3.3v.
copyright ? 2010 future technology devices international limited 27 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 7 standard device configuration examples 7.0 oscillator configurations figure 7 . 1 3 - pins ceramic resonator configuration figure 7.1 illustrates how to use the FT2232D with a 3 - pin ceramic resonator. a suitable part would be a ceramic resonator from murata?s ceralock range. (murata part number cstcr6m00g15), or equivalent. 3 - pin ceramic resonators have the load capacitors built into the resonator so no external loading capacitors are required. this makes for an economical configuration. the accuracy of this murata ceramic resonator is +/ - 0.25% and it is specifically designed for usb full speed applications. a 1 megaohm loading resistor across xtin and xtout is recommended in order to guarantee this level of accuracy. other ceramic resonators with a lesser degree of accuracy (typically +/ - 0.5%) are technically out - with the usb specification, but it has been calculated that using such a device will work satisfactorily in practice with a FT2232D design. an example of such a device is murata?s cstlsm00g53.
copyright ? 2010 future technology devices international limited 28 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 7 . 2 crystal or 2 - pin ceramic resonator configuration figure 7.2 illustrates how to use the FT2232D with a 6mhz crystal or 2 - pin ceramic resonator. in this case, these devices do not have in - built loading capacitors so these have to be added between xtin, xtout and gnd as shown. a value of 27pf is shown as th e capacitor in the example C this will be good for many crystals and some resonators but do select the value based on the manufacturers recommendations wherever possible. if using a crystal, use a parallel cut type. if using a resonator, see the previous n ote on frequency accuracy. it is also possible to use a 6 mhz oscillator with the FT2232D. in this case the output of the oscillator would be connected to xtin, and xtout should be left unconnected. the oscillator must have a cmos output.
copyright ? 2010 future technology devices international limited 29 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 7.1 eeprom configurations figure 7 . 3 eeprom configuration figure 7.3 illustrates how to connect the FT2232D to the 93c46 (93c56 or 93c66) eeprom. eecs (pin 48) is directly connected to the chip select (cs) pin of the eeprom. eesk (pin 1) is directly connected to the clock (sk) pin of the eeprom. eedata (pin 2) is directly connected to the data in (din) pin of the eeprom. there is a potential condition whereby both the data output (dout) of the eeprom can drive out at the same time as the eedata pin of the FT2232D. to prevent potential data clash in this situation, the dout of the eeprom is connected to eedata of the FT2232D via a 2.2k resistor. following a power - on reset or a usb reset, the FT2232D will scan the eeprom to find out (a) if an eeprom is attached to the device and (b) if the data in the device is valid . if both of these are the case, then the FT2232D will use the data in the eeprom, otherwise it will use its built - in default values and configuration. the default port configuration of the FT2232D puts both channel a and channel b into serial uart mode. w hen a valid command is issued to the eeprom from the FT2232D, the eeprom will acknowledge the command by pulling its dout pin low. in order to check for this condition, it is necessary to pull dout high using a 10k resistor. if the command acknowledge does n?t happen then eedata will be pulled high by the 10k resistor during this part of the cycle and the device will detect an invalid command or no eeprom present. there are two varieties of 93c46/56/66 eeprom?s on the market C one is configured as being 16 b its wide, the other is configured as being 8 bits wide. these are available from many sources such as microchip, stmicro, issi etc. the FT2232D requires eeprom?s with a 16 - bit wide configuration such as the microchip 93lc46b device. the eeprom must be capa ble of reading data at a 1mb clock rate at a supply voltage of 4.35v to 5.25v. most available parts are capable of this. check the manufacturers data sheet to find out how to connect pins 6 and 7 of the eeprom. some devices specify these as no - connect, oth ers use them for selecting 8 / 16 bit mode or for test functions. some other parts have their pinout rotated by 90o so please select the required part and its options carefully.
copyright ? 2010 future technology devices international limited 30 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 it is possible to share the eeprom between the FT2232D and another external device such as an mcu. however, this can only be done when the FT2232D is in its reset condition as it tri - states its eeprom interface at that time. a typical configuration would use four bits of an mcu io port. one bit would be used to hold the FT2232D re set (using reset#) on power - up, the other three would connect to the eecs, eesk and eedata pins of the FT2232D in order to read / write data to the eeprom at this time. once the mcu has read / written the eeprom, it would take reset# high to allow the ft22 32d to configure itself and enumerate over usb. the external eeprom can be programmed over usb using utility software provided by ftdi. the external eeprom is used to enable 245 fifo, and fast opto - isolated serial interface modes on each channel.
copyright ? 2010 future technology devices international limited 31 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8 signal de scriptions by io mode and interface channel configurations 8.0 232 uart interface mode signal descriptions and interface configurations when either channel a or channel b is in 232 uart mode , the io signal lines are configured as follows: - pin# signal type description channel a channel b 24 40 txd output transmit asynchronous data output 23 39 rxd input receive asynchronous data input **note 16 22 38 rts# output request to send control output / handshake signal 21 37 cts# input clear to send control input / handshake signal **note 16 20 36 dtr# output data terminal ready control output / handshake signal 19 35 dsr# input data set ready control input / handshake signal **note 16 17 33 dcd# input data carrier detect control input **note 16 16 32 ri# input ring indicator control input. when the remote wake up option is enabled in the eeprom, taking ri# low can be used to resume the pc usb host controller from suspend. **note 16 15 30 txden output enable transmit data for rs485 13 29 sleep# output goes low during usb suspend mode. typically used to power - down an external ttl to rs232 level converter i.c. in usb to rs232 converter designs. 12 28 rxled# o.c. led drive - pulses low when transmitting data via usb. 11 27 txled# o.c led drive - pulses low when receiving data via usb. 10 26 si/wu input the send immediate / wakeup signal combines two functions on a single pin. if usb is in suspend mode (pwren# = 1) and remote wakeup is enabled in the eep rom , strobing this pin low will cause the device to request a resume on the usb bus. normally, this can be used to wake up the host pc. during normal operation (pwren# = 0), if this pin is strobed low any data in the device tx buffer will be sent out over usb on the next bulk - in request from the drivers regardless of the pending packet size. this can be used to optimise usb transfer speed for some applications. tie this pin to vccio if not used ta ble 8 . 1 232 uart mode the io signal lines description **note 16 : these pins are pulled to up vccio via internal 200k resistors during reset and usb suspend mode. these can be programmed to gently pull low during usb suspend (pwren# =1 ) by setting this option in the eeprom.
copyright ? 2010 future technology devices international limited 32 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 1 usb <=> dual port rs232 converter configuration figure 8 .1 illustrates how to connect the FT2232D, when both channels a and b are configured as 232 - style uart interfaces, to two ttl C rs232 level converter i.c.?s to make a usb <=> dual port rs232 converter using the popular 213 series of ttl to rs232 level converters. these devices have 4 transmitters and 5 receivers in a 28 - ld ssop package and feature an in - built voltage converter to convert the 5v (nominal) vcc to the +/ - 9 volts req uired by rs232. an important feature of these devices is the shdn# pin which can power down the device to a low quiescent current during usb suspend mode. the device used in the example above is a sipex sp213ehca which is capable of rs232 communication at up to 500k baud. if a lower baud rate is acceptable, then several pin compatible alternatives are available such as the sipex sp213eca , the maxim max213cai and the analog devices adm213e, which are all good for communication at up to 115,200 baud. if a higher baud rate is desired, use a maxim max3245cai part which is capable of rs232 communication at rates of up to 1m baud. the max3245 is not pin compatible with the 213 series devices, also its shdn pin is active high, so connect it to pwren# instead of sleep#. dual rs232 level converters such as the maxim max3187 may also be a suitable alternativ e.
copyright ? 2010 future technology devices international limited 33 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 2 usb <=> dual port rs422 converter configuration figure 8.2 illustrates how to connect the uart interfaces of the FT2232D to two ttl - rs422 level converter i.c.?s to make a usb to dual port rs422 converter. there are many such level converter devices available - this example uses two sipex sp491 devices which hav e enables on both their transmitters and receivers. because the transmitter enables are active high, they are connected to the sleep# pins. the receiver enables are active low and are both connected to the pwren# pin. this ensures that both the transmitters and receivers are enabled when the device is active, and disabled when the device is in usb suspend mode. if the design is usb bus powered , it may be necessary to use a p - channel logic level mosfet (controlled by pwren#) in the vcc line of the sp491 devices to ensure that the usb standby current of 500a is met. the sp491 is good for sending and receiving data at a rate of up to 5m baud - in this case the maximum rate is limited to 3m baud by the FT2232D.
copyright ? 2010 future technology devices international limited 34 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 3 usb <=> dual port rs485 converter configuration figure 8 .3 illustrates how to connect the uart interfaces of the FT2232D to two ttl C rs485 level converter i.c.?s to make a usb to dual port rs485 converter. this example uses two sipex sp491 devices but there are similar parts available from maxim and analog devices amongst others. the sp491 is a rs485 device in a compact 8 pin sop package. it has separate enables on both the transmitter and receiver. with rs485, the transmitter is only enabled when a character is being transmitted from the uart. the txden pins on the FT2232D are provided for exactly that purpose, and so the transmit ter enables are wired to the txden?s. the receiver enable is active low, so it is wired to the pwren# pin to disable the receiver when in usb suspend mode. rs485 is a multi - drop network C i.e. many devices can communicate with each other over a single two wire cable connection. the rs485 cable requires to be terminated at each end of the cable. links are
copyright ? 2010 future technology devices international limited 35 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 provided to allow the cable to be terminated if the device is physically positioned at either end of the cable. in this example the data transmitted by t he FT2232D is also received by the device that is transmitting. this is a common feature of rs485 and requires the application software to remove the transmitted data from the received data stream. with the FT2232D it is possible to do this entirely in har dware C simply modify the schematic so that rxd of the FT2232D is the logical or of the sp481 receiver output with txden using an hc32 or similar logic gate. 8.1 232 uart mode led interface figure 8 . 4 dual led configuration
copyright ? 2010 future technology devices international limited 36 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 5 single led configuration when configured in uart mode the FT2232D has two io pins on each channel dedicated to controlling led status indicators, one for transmitted data the other for received data. when data is being transmitted / received the respective pins drive from tri - state to low in order to provide indication on the led?s of data transfer. a digital one - shot timer is used so that even a small percentage of data t ransfer is visible to the end user. figure 8 .4 shows a configuration using two individual led?s C one for transmitted data the other for received data. in figure 8 .5, the transmit and receive led indicators are wire - or?ed together to give a single led indicator which indicates any transmit or receive data activity. another possibility (not shown here) is to use a 3 pin common anode tri - color led based on the circuit in figure 7.5 to have a single led that can display acti vity in a variety of colors depending on the ratio of transmit activity compared to receive activity. note that the led?s are connected to the same supply as vccio.
copyright ? 2010 future technology devices international limited 37 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.2 245 fifo interface mode si gnal descriptions and interface configurations when either channel a or channel b is in 245 fifo mode , the io signal lines are configured as follows : - pin# signal type description channel a channel b 24 40 d0 i/o fifo data bus bit 0 23 39 d1 i/o fifo data bus bit 1 22 38 d2 i/o fifo data bus bit 2 21 37 d3 i/o fifo data bus bit 3 20 36 d4 i/o fifo data bus bit 4 19 35 d5 i/o fifo data bus bit 5 17 33 d6 i/o fifo data bus bit 6 16 32 d7 i/o fifo data bus bit 7 table 8 . 2 fifo data bus group **note 17 pin# signal type description channel a channel b 15 3 0 rxf# output when high, do not read data from the fifo. when low, there is data available in the fifo which can be read by strobing rd# low then high again ** note 18 13 29 txe# output when high, do not write data into the fifo. when low, data can be written into the fifo by strobing wr high then low. ** note 18 12 28 rd# input enables current fifo data byte on d0.. d7 when low. fetches the next fifo data byte (if available) from the receive fifo buffer when rd# goes from low to high. ** note 17 11 27 wr input writes the data byte on the d0..d7 into the transmit fifo buffer when wr goes from high to low. ** note 17 10 26 si/wu input the send immediate / wakeup signal combines two functions on a single pin. if usb is in suspend mode (pwren# = 1) and remote wakeup is enabled in the eeprom, strobing this pin low will cause the device to request a resume on the usb bus. normally, this can be used to wake up the host pc. during normal operation (pwren# = 0), if this pin is strobed low any data in the device tx buffer will be sent out over usb on the next bulk - in request from the drivers regardless of the pending packet s ize. this can be used to optimise usb transfer speed for some applications. tie this pin to vccio if not used. table 8 . 3 fifo control interface group **note 17: i n input mode, these pins are pulled to vccio via internal 200k resistors. these can be programmed to gently pull low during usb suspend (pwren# = 1 ) by setting this option in the eeprom. **note 18: during device reset, these pins are tri - state but pulled up to vccio via internal 200k resistors.
copyright ? 2010 future technology devices international limited 38 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.3 245 fifo mode timing diagram figure 8 . 6 fifo read cycle time description min max unit t1 rd# active pulse width 50 ns rd# active pulse width t2 rd# to rd pre - charge time 50 + t6 ns rd# to rd pre - charge time t3 rd# active to valid data ** note 19 20 50 ns t4 valid data hold time from rd# inactive ** note 19 0 ns valid data hold time from rd# inactive ** note 19 t5 rd# inactive to rxf# 0 25 ns t6 rxf# inactive after rd# cycle 80 ns rxf# inactive after rd# cycle table 8 . 4 read cycle ** note 19: load 30 pf at standard drive level. these times will also vary if the high output drive level is enabled figure 8 . 7 fifo write cycle
copyright ? 2010 future technology devices international limited 39 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 time description min max unit t7 wr active pulse width 50 ns wr active pulse width t8 wr to wr pre - charge time 50 ns wr to wr pre - charge time t9 data setup time before wr inactive 20 ns data setup time before wr inactive t10 data hold time from wr inactive 0 ns data hold time from wr inactive t11 wr inactive to txe# 5 25 ns t12 txe inactive after wr cycle 80 ns txe inactive after wr cycle table 8 . 5 write cycle figure 8 . 8 microprocessor interface example
copyright ? 2010 future technology devices international limited 40 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 .8 illustrates a typical interface between one of the channels of the FT2232D, configured in 245 - style fifo interface mode, and a microcontroller (mcu). eithe r channel a or b, or both can be configured in this mode. this examples uses two io ports of the mcu, one port (8 bits) to transfer data to one of the and the other port (4 / 5 bits) to monitor the txe# and rxf# status bits and generate the rd# and wr strobes to the FT2232D as required. optionally, si / wu can be connected to another io pin if either of the functions of this pin are required. if the si / wu function is not required, tie this pin to vccio. if the mcu is handling power management functions, then pwren# should also be connected to an io pin of the mc u. the 8 data bits on io port 1 can be shared with other peripherals when the mcu is not accessing the FT2232D 8.4 enhanced asynchronous and synchronous bit - bang modes - signal description and interface configuration bit - bang mode is a special FT2232D device mode that changes the 8 io lines on either (or both) channels into an 8 bit bi - directional data bus. the are two types of bit - bang mode for the FT2232D - enhanced asynchronous bit - bang mode, which is virtually the same as ftdi bm chip - style bit - bang mode, with the addition of read and write strobes; and synchronous bit - bang mode, where data is only read from the device when the device is written to. bit - bang mode is enabled by driver command. when either channel a or channel b (or both) have enhanced asynch ronous bit - bang mode, or synchronous bit - bang mode enabled the io signal lines are configured as follows : - pin# signal type description channel a channel b 24 40 d0 i/o bit - bang data bus bit 0 23 39 d1 i/o bit - bang data bus bit 1 22 38 d2 i/o bit - bang data bus bit 2 21 37 d3 i/o bit - bang data bus bit 3 20 36 d4 i/o bit - bang data bus bit 4 19 35 d5 i/o bit - bang data bus bit 5 17 33 d6 i/o bit - bang data bus bit 6 16 32 d7 i/o bit - bang data bus bit 7 table 8 . 6 bit - bang data bus group **note 24 **note 24: in input mode, these pins are pulled to vccio via internal 200k resistors. these can be programmed to gently pull low during usb suspend (pwren# = 1 ) by setting this option in t he eeprom. pin# signal type description channel a channel b 15 30 wr# output **note 25 13 29 rd# output **note 25 12 28 wr# input **note 26 11 27 rd# input **note 26 10 26 si/wu input the send immediate / wakeup signal combines two functions on a single pin. if usb is in suspend mode (pwren# = 1) and remote wakeup is enabled in the eeprom , strobing this pin low will cause the device to request a resume on the usb bus. normally, this can be used to wake up the ho st pc. during normal operation (pwren# = 0), if this pin is strobed low any data in the device tx buffer will be sent out over usb on the next bulk - in request from the drivers regardless of the pending packet size. this can be used to optimise usb transfe r speed for some applications. tie this pin to vccio if not used table 8 . 7 bit - bang control interface group
copyright ? 2010 future technology devices international limited 41 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 **note 25: the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is 245 fifo, or fast opto - isolated serial mode. bit - bang mode is not available on channel b when fast opto - isolated serial mode is enabled. ** note 26 : the bit - bang mode (synchronous and asynchronous) wr# and rd# strobes are on these pins when the main channel mode is set to 232 uart mode. enhanced asynchronous bit - bang mode enhanced asynchronous bit - bang mode is the same as bm - style bit - bang m ode, except that the internal rd# and wr# strobes are now brought out of the device to allow external logic to be clocked by accesses to the bit - bang io bus. on either or both channels any data written to the device in the normal manner will be self clocked onto the data pins (those which have been configured as outputs). each pin can be independently set as an input or an output. the rate that the data is clocked out at is controlled by the baud rate generator. for the data to change there has to be new data written, and the baud rate clock has to tick. if no new data is written to the channel, the pins will hold the last value written. to allow time for the data to be setup and held around the wr# strobe, the baud rate should be less than 1 megabaud. see the application note an232b - 01, ft232bm/ft245bm bit bang mode for more details and a sample application. enabling asynchronous bit - bang mode is enabled using set bit bang mode driver command. a hex value of 1 will enable it, and a hex value of 0 will reset the device. see application note an2232 - 02, bit mode functions for the FT2232D for more details and examples of this. synchronous bit - bang mode with synchronous bit - bang mode data will only be sent out by the FT2232D if there is space in the device for data to be read from the pins. this synchronous bit - bang mode will read the data bus pins first, before it sends out the byte that has just been transmitted. it is therefore 1 byte behind the output, and so to read the inputs for the byte that you have just sent, another byte must be sent. for example: - (1) pins start at 0xff send 0x55, 0xaa pins go to 0x55 and then to 0xaa data read = 0xff, 0x55 (2) pins start at 0xff send 0x55, 0xaa, 0xaa (repeat the last byte sent) pins go to 0x55 and then to 0xaa data read = 0xff, 0x55, 0xaa enabling synchronous bit - bang mode is enabled using set bit bang mode driver command. a hex value of 4 will enable it, and a hex value of 0 will reset the device. see application note an2232 - 02, bit mode functions for the FT2232D for more details and examples.
copyright ? 2010 future technology devices international limited 42 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 9 synchronous bit bang mode signal timing time description t1 current pin state is read t2 rd# is set inactive t3 rd# is set active again, and any pins that are output will change to the new data. t4 clock state for data setup t5 wr# goes active t6 wr# goes inactive table 8 . 8 synchronous bit bang mode signal timing the internal rd# and wr# strobes are brought out of the device to allow external logic to be clocked by accesses to the bit - bang io bus . 8.5 multi - protocol synchronous serial engine (mpsse) mode signal descriptions and interface configurations mpsse mode is designed to allow the FT2232D to interface efficiently with synchronous s erial protocols such as jtag and spi bus. it can also be used to program sram based fpga?s over usb. the mpsse interface is designed to be flexible so that it can be configured to allow any synchronous serial protocol (industry standard or proprietary) to be interfaced to the FT2232D. mpsse is available on channel a only. mpsse is fully configurable, and is programmed by sending commands down the data pipe. these can be sent individually or more efficiently in packets. mpsse is capable of a maximum sustaine d data rate of 5.6 mega bits / s .
copyright ? 2010 future technology devices international limited 43 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 when channel a is configured in mpsse mode the io signal lines are configured as follows: - pin# signal type description channel a only 24 tck/sk output clock signal output 23 tdi/d0 output serial data out 22 tdo/di input serial data in **note 27 21 tms/cs output select signal out 20 gpiol0 i/o general purpose input / output **note 27 19 gpiol1 i/o general purpose input / output **note 27 17 gpiol2 i/o general purpose input / output **note 27 16 gpiol3 i/o general purpose input / output **note 27 15 gpioh0 i/o general purpose input / output **note 27 13 gpioh1 i/o general purpose input / output **note 27 12 gpioh2 i/o general purpose input / output **note 27 11 gpioh3 i/o general purpose input / output **note 27 table 8 . 9 mpsse mode configuration **note 27: in input mode, these pins are pulled to vccio via internal 200k resistors. these can be programmed to gently pull low during usb suspend ( pwren# = 1 ) by setting this option in the eeprom. enabling mpsse mode is enabled using set bit bang mode driver co mmand. a hex value of 2 will enable it, and a hex value of 0 will reset the device. see application note an2232 - 02, bit mode functions for the FT2232D for more details and examples. the mpsse command set is fully described in application note an_108, command processor for mpsse and mcu host bus emulation modes. example project code for the FT2232D that demonstrates how to use the devices multi - protocol synchronous serial engine (mpsse) to make a usb to spi bus interface are available from ftdi?s web s ite http://www.ftdichip.com/projects/mpsse.htm#spi example project code for the FT2232D that demonstrates how to use the devices multi - protocol synchronous serial engine (mpsse) to make a us b to i2c bus interface are available from ftdi?s web site http://www.ftdichip.com/projects/mpsse.htm#i2c example project code for the FT2232D that demonstrates how to use the devices multi - p rotocol synchronous serial engine (mpsse) to make a usb to jtag bus interface are available from ftdi?s web site http://www.ftdichip.com/projects/mpsse.htm#jtag
copyright ? 2010 future technology devices international limited 44 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.6 mcu host bus emulation mode signal descriptions and interface configuration mcu host bus emulation mode uses both of the FT2232D?s a and b channel interfaces to make the chip emulate a standard 8048 / 8051 mcu host bus. this allows peripheral devices for these mcu fami lies to be directly connected to usb via the FT2232D. the lower 8 bits (ad7 to ad0) is a multiplexed address / data bus. a8 to a15 provide upper (extended) addresses. there are 4 basic operations: - 1) read (does not change a15 to a8) 2) read extended (cha nges a15 to a8) 3) write (does not change a15 to a8) 4) write extended (changes a15 to a8) enabling mcu host bus emulation mode is enabled using set bit bang mode driver command. a hex value of 8 will enable it, and a hex value of 0 will reset the device. see application note an2232 - 02, bit mode functions for the FT2232D for more details and examples. the mcu host bus emulation mode command set is fully described in application note an_108, command processor for mpsse and mcu host bus emulation modes . when mcu host bus emulation mode is enabled the io signal lines on both channels work together and the pins are configured as follows : - pin# signal type description 24 ad0 i/o address / data bus bit 0 **note 28 23 ad1 i/o address / data bus bit 1 **note 28 22 ad2 i/o address / data bus bit 2 **note 28 21 ad3 i/o address / data bus bit 3 **note 28 20 ad4 i/o address / data bus bit 4 **note 28 19 ad5 i/o address / data bus bit 5 **note 28 17 ad6 i/o address / data bus bit 6 **note 28 16 ad7 i/o address / data bus bit 7 **note 28 15 i/o0 i/o mpsse mode instructions to set / clear or read the high byte of data can be used with this pin. **note 28, **note 29 13 i/o1 i/o mpsse mode instructions to set / clear or read the high byte of data can be used with this pin. in addition this pin has instructions which will make the controller wait until it is high, or wait until it is low. this can be used to connect to an irq pin o f a peripheral chip. the FT2232D will wait for the interrupt, and then read the device, and pass the answer back to the host pc. i/o1 must be held in input mode if this option is used. **note 28, **note 29 12 iordy input extends the time taken to perform a read or write operation if pulled low. pull up to vcc if not being used. 11 osc output shows the clock signal that the circuit is using. 40 a8 output extended address bus bit 8 39 a9 output extended address bus bit 9 38 a10 output extended address bus bit 10 37 a11 output extended address bus bit 12 36 a12 output extended address bus bit 13 35 a13 output extended address bus bit 14 33 a14 output extended address bus bit 15 32 a15 output extended address bus bit 16 30 cs# output negative pulse to select device during read or write. 29 ale output positive pulse to latch the address. 28 rd# output negative read output. 27 wr# output negative write output. (data is setup before wr# goes low, and is held after wr# goes high) table 8 . 10 mcu host bus emulation mode io signal lines configuration
copyright ? 2010 future technology devices international limited 45 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 **note 28: in input mode, these pins are pulled to vccio via internal 200k resistors. these can be programmed to gently pull low during usb suspend ( pwren# = 1 ) by setting this option in the eeprom. **note 29: these instructions are fully described in the application note an2232l - 01 - command processor for mpsse and mcu host bus emulation modes . figure 8 . 10 mcu host bus emulation mode signal timing - write cycle time description t1 high address byte is placed on the bus if the extended write is used. t2 low address byte is put out. t3 1 clock period for address is set up. t4 ale goes high to enable latch. this will extend to 2 clocks wide if iordy is low. t5 ale goes low to latch address and cs# is set active low. t6 data driven onto the bus. t7 1 clock period for data setup. t8 wr# is driven active low. this will exte nd to 6 clocks wide if iordy is low. t9 wr# is driven inactive high. t10 cs# is driven inactive, 1/2 a clock period after wr# goes inactive t11 data is held until this point, and may now change table 8 . 11 mcu host bus emulation mode signal timing - write cycle
copyright ? 2010 future technology devices international limited 46 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 11 mcu host bus emulation mode signal timing - read cycle time description t1 high address byte is placed on the bus if the extended read is used - otherwise t1 will not occur. t2 low address byte is put out. t3 1 clock period for address set up. t4 ale goes high to enable address latch. this will extend to 2 clocks wide if iordy is low. t5 ale goes low to latch address, and cs# is set active low. this will extend to 3 clocks if iordy is sampled low. cs# will always drop 1 clock after ale has gone high no matter the state of iordy. t6 data is set as input (hi - z), and rd# is driven active low. t7 1 clock period for data setup. this will extend to 5 clocks wide if iordy# is sampled low. t8 rd# is driven inactive high. t9 cs# is driven inactive 1/2 a clock period after rd# goes inactive, and the data bus is set back to output. table 8 . 12 mcu host bus emulation mode signal timing - read cycle figure 8 . 12 mcu host bus emulation mode signal timing - clock (osc) signal
copyright ? 2010 future technology devices international limited 47 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 time description min typical value max unit t period clock period 41.6 83.3 125.0 ns t high clock signal high time 20.8 41.6 62.5 ns t low clock signal low time 20.8 41.6 62.5 ns table 8 . 13 mcu host bus emulation mode signal timing - clock (osc) signal figure 8 . 13 mcu host bus emulation example - usb <=> can bus interface figure 8 .13 shows an example where the FT2232D is used to interface a philips sja1000 can bus controller to a pc over usb. in this example iordy i s not used and so is pulled up to vcc. i/o1 is used to monitor the interrupt output (int) of the sja1000. the mode pin on the sja1000 is pulled high to select intel mode. see the semiconductors section of the philips website ( www.philips.com ) for more deta ils on the sja1000 and suitable can bus transceiver devices.
copyright ? 2010 future technology devices international limited 48 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.7 fast opto - isolated serial interface mode signal descriptions and interface configuration fast opto - isolated serial interface mode provides a method of communicating with an external device over usb using 4 wires that can have opto - isolators in their path, thus providing galvanic isolation between systems. if either channel a or channel b are enabled in fast opto - isolated serial mode then the pins on channel b are switched to the fast serial interface configuration. the i/o interface for fast serial mode is always on channel b, even if both channels are being used in this mode. an address bit is used to determine the source or destination channel of the data. it therefore makes sense to always use at least channel b or both for fast serial mode, but not a own its own. when either channel b or both channel a and b are configured in fast opto - isolated seria l interface mode following io signal lines are configured as follows : - pin# signal type description 40 fsdi input fast serial data input **note 30 39 fsclk input clock input to FT2232D chip to clock data in or out. the external device has to provide a clock signal or nothing will change on the interface pins. this gives the external device full control over the interface. it is designed to be half duplex so that da ta is only transferred in one direction at a time. **note 30 38 fsdo output fast serial data output. driven low to indicate that the chip is ready to send data. 37 fscts output clear to send control signal output 26 si/wu input the send immediate / wakeup signal combines two functions on a single pin. if usb is in suspend mode (pwren# = 1) and remote wakeup is enabled in the eeprom , strobing this pin low will cause the device to request a resume on the usb bus. normally, this can be used to wake up the host pc. during normal operation (pwren# = 0), if this pin is strobed low any data in the device tx buffer will be sent out over usb on the next bulk - in request from the drivers regardless of the pending packet size. this can be used to optimise usb t ransfer speed for some applications. tie this pin to vccio if not used. table 8 . 14 fast opto - isolated serial interface mode io signal lines configuration **note 30: pulled up to vccio via internal 200k resis tors. these pins can be programmed to gently pull low during usb suspend ( pwren# = 1 ) by setting this option in the eeprom. fast opto - isolated serial interface mode is enabled in the external eeprom.
copyright ? 2010 future technology devices international limited 49 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 14 fast opto - isolated serial signal timing diagram time description min max unit t1 fsdo / fscts hold time 5 - ns t2 fsdo / fscts setup time 5 - ns t3 fsdi hold time 5 - ns t4 fsdi setup time 10 - ns t5 fsclk low 10 - ns t6 fsclk high 10 - ns table 8 . 15 fast opto - isolated serial signal timing diagram outgoing fast serial data to send fast serial data out of the chip, the external device must clock. if the chip has data ready to send, it will drive fsdo low to indicate the start bit. it will not do this if it is currently receiving data from the external device. figure 8 . 15 fast opto - isolated serial data format - data output from the FT2232D notes: - (i) start bit is always 0. (ii) data is sent lsb first. (iii) the source bit (srce) indicates which channel the data has come from. a ?0? means that it has come from chan nel a, a ?1? means that it has come from channel b. (iv) if the target device is unable to accept the data when it detects the start bit, it should stop the fsclk until it can accept the data.
copyright ? 2010 future technology devices international limited 50 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 incoming fast serial data the external device is allowed to send data into the chip if fscts is high. on receipt of a zero start bit on fsdi, the chip will drop fscts on the next positive clock edge. the data from bits 0 to 7 is then clocked in (lsb first). the next bit determines where the data will be written to. it can go to either channel a or to channel b. a ?0? will send it to channel a, providing channel a is enabled for fast serial mode, otherwise it will go to channel b. a ?1? will send it to channel b, providing channel b is enabled for fast serial mode, otherwise it will go to channel a. (either channel a, or channel b, or both must be enabled as fast serial mode or the circuit is disabled). figure 8 . 16 fast opto - isolated s erial data format - data input to the FT2232D notes: - (i) start bit is always 0. (ii) data is sent lsb first. (iii) the destination bit (dest) indicates which channel the data should go to. a ?0? means that it should go to channel a, a ?1? means that it s hould go to channel b. (iv) the target device should check cts is high before it sends data. cts goes low after data bit 0 (d0) and stays low until the chip can accept more data. contention there is a possibility that contention may occur, where the interface goes from being completely idle to both sending and receiving at the same clock instance. in this case the chip backs off, and allows the data from the external device to be received. data format the data format for either direction is: - 1) zero start bit 2) data bit 0 3) data bit 1 4) data bit 2 5) data bit 3 6) data bit 4 7) data bit 5 8) data bit 6 9) data bit 7 10) source/destination (?0? indicates channel a; ?1? indicates channel b) reset / enable fast serial mode is enabled by setting the appropriate bits in the external eeprom. the fast serial mode can be held in reset by setting a bit value of 10 using the set bit bang mode command. while this bit is set the device is held reset - data can be sen t to the device, but it will not be sent out by the device until the device is enabled again. this is done by sending a bit value of 0 using the set bit mode command. see application note an2232l - 02, bit mode functions for the FT2232D for more details and examples.
copyright ? 2010 future technology devices international limited 51 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 17 fast opto - isolated serial interface example in the example shown in figure 8 .18 two agilent hcpl - 2430 (see the semiconductor section at www.agilent.com ) high speed opto - couplers are used to optically isolate an external device which interfaced to usb using the FT2232D. in this example vcc5v is the supply for the FT2232D (bus or self powered), and vcce is the supply to the external device. care must be taken with the voltage used t o power the photoled?s. it should be the same supply that the i/os are driving to, or the led?s may be permanently on. limiting resistors should be fitted in the lines that drive the diodes. the outputs of the opto - couplers are open - collector and so need a pullup resistor. testing fast serial mode has been tested using an scenix (ubicom), sx28 microcontroller (see www.ubicom.com ) which was configured in loopback mode. this was done both with, and without hp hcpl - 2430 opto - isolators in place. the isolators add a considerable delay to the turnaround time seen by the micro. this was close to 100 ns with the high speed hcpl - 2430 device. this is the combined delay of the clock signal from the microcontroller going through an opto - coupler to the chip, and the dat a from the FT2232D chip going through the other opto - coupler back to the microcontroller.
copyright ? 2010 future technology devices international limited 52 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 8.8 cpu fifo interface mode signal descriptions and configuration examples cpu - style fifo interface mode is designed to allow a cpu to interface to usb via the FT2232D. this mode is enabled in the external eeprom. the interface is achieved using a chip select bit (cs#) and address bit (a0). when either channel a or channel b are in cpu fifo interface mode the io signal lines are configured as follows: - pin# signal type description channel a channel b 24 40 d0 i/o fifo data bus bit 0 23 39 d1 i/o fifo data bus bit 1 22 38 d2 i/o fifo data bus bit 2 21 37 d3 i/o fifo data bus bit 3 20 36 d4 i/o fifo data bus bit 4 19 35 d5 i/o fifo data bus bit 5 17 33 d6 i/o fifo data bus bit 6 16 32 d7 i/o fifo data bus bit 7 table 8 . 16 fifo data bus group **note 20 pin# signal type description channel a channel b 15 30 cs# input chip select bit ** note 20 13 29 a0 input address bit ** note 20 12 28 rd# input negative read input ** note 20 11 27 wr# input negative write input ** note 20 table 8 . 17 fifo control interface group **note 20: in input mode, these pins are pulled to vccio via internal 200k resistors. these can be programmed to gently pull low during usb suspend ( pwren# = 1 ) by setting this option in the eeprom cs# a0 rd# wr# 1 x x x 0 0 read data pipe write data pipe 0 1 read status send immediate **note 21 table 8 . 18 chip select bit and address bit truth table key: x = not used; 1 = signal off; 0 = signal off **note 21: has to be clocked by usb clock data bit data status bit 0 1 data available (=rxf) bit 1 1 space available (=txe) bit 2 1 suspend bit 3 1 configured bit 4 **note 22 x x bit 5 **note 22 x x bit 6 **note 22 x x bit 7 **note 22 x x table 8 . 19 status data bits key: x = not used; 1 = signal off; 0 = signal off **note 22: bits 4 to 7 will have arbitrary values when the status is read .
copyright ? 2010 future technology devices international limited 53 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 18 cpu fifo interface mode - signal timing time description min max unit t1 a0 / cs setup to wr# 15 - ns t2 data setup to wr# 15 - ns t3 wr# pulse width 20 - ns t4 a0/cs hold from wr# 5 - ns t5 data hold from wr# 5 - ns t6 a0/cs setup to rd# 15 - ns t7 data delay from rd# **note 23 15 50 ns t8 a0/cs hold from rd# 5 - ns t9 data hold time from rd# **note 23 0 30 ns table 8 . 20 cpu fifo interface mode - signal timing **note 23: for standard output drive level times may vary if high drive level is enabled
copyright ? 2010 future technology devices international limited 54 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 19 cpu fifo single channel interface example 1 figure 8 .20 shows an example where channel a of the FT2232D is used in cpu fifo mode to interface with a cpu. to read or write data to or from the cpu to the FT2232D, the FT2232D?s chip select (cs#) would be set to 0. in order to read the status of the device the addr ess bit would then be set to 1, and rd# would be strobed causing the status data to be driven onto d0...d7. if data is available (d0 = 1) then it can be read by setting a0 to 0, and strobing rd#. if space is available (d1=1) then data can be written to the FT2232D by setting a0 to 0 and strobing wr#. when cs# is set to 0 and a0 is set to 1, strobing wr# causes any data in the FT2232D?s tx buffer to be sent out over usb on the next bulk - in request, regardless of the pending packet size.
copyright ? 2010 future technology devices international limited 55 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 figure 8 . 20 cpu fifo dual channel interface example 2 figure 8 .21 shows an example where both channels a and b of the FT2232D are used in cpu fifo mode to interface with a cpu. this configuration gives the cpu access to both of the FT2232D?s data pipes.
copyright ? 2010 future technology devices international limited 56 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 9 package parameters the FT2232D is supplied in a 48 pin lead (pb) f ree lqfp package. this package has a 7mm x 7mm body (9mm x 9mm including leads) with leads on a 0.5mm pitch. the FT2232D is fully compliant with the european union rohs directive. the below drawing shows the lqfp - 48 package C all dimensions are in millime ters. xxyy = date code (xx = 2 digit week number, yy = 1 or 2 digit year number. figure 9 . 1 48ld lead free lqfp package dimensions tape and reel information is available in the following applications note: http://www.ftdichip.com/documents/appnotes/an_116_ftdi%20devices%20tape%20and%20reel%20 dimensions.pdf
copyright ? 2010 future technology devices international limited 57 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 10 contact information head office C gla sgow, uk future technology devices international limited unit 1, 2 seaward place, centurion business park glasgow, g41 1hh united kingdom tel: +44 (0) 141 429 2777 fax: +44 (0) 141 429 2758 e - mail (sales) sales1@ftdichip.com e - mail (support) support1@ftdichip.com e - mail (general enquiries) admin1@ftdichip.com web site url http://www.ftdichip.com web shop url http://www.ftdichip.com branch office C taipei, taiwan future technology devices international limited (taiwan) 2f, no. 516, sec. 1, neihu road taipei 114 taiwan , r.o.c. tel: +886 (0) 2 8797 1330 fax: +886 (0) 2 8751 9737 e - mail (sales) tw.sales1@ftdichip.com e - mail (support) tw.support1@ftdichip.com e - mail (general enquiries) tw.admin1@ftdichip.com web site url http://www.ftdichip.com branch office C hillsboro, oregon, usa future technology devices intern ational limited (usa) 7235 nw evergreen parkway, suite 600 hillsboro, or 97123 - 5803 usa tel: +1 (503) 547 0988 fax: +1 (503) 547 0987 e - mail (sales) us.sales@ftdichip.com e - mail (support) us.support@ftdichip.com e - mail (general enquiries) us.admin@ftdichip.com web site url http://www.ftdichip.com branch office C s hanghai, china future technology devices international limited (china) room 408, 317 xianxia road, changning district, shanghai, p.r. china tel: + 86 (21) 62351596 fax: +86 (21) 62351595 e - mail (sales) cn.sales@ftdichip.com e - mail (support) cn.support@ftdichip.com e - mail (general enquiries) cn.admin@ftdichip.com web site url http://www.ftdichip.com distributor and sales representatives please visit the sales network page of the ftdi web site for the contact details of our distributor(s) and sales representative(s) in your country.
copyright ? 2010 future technology devices international limited 58 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 appendix a C references an2232 - 02, bit mode functions for the FT2232D http://www.ftdichip.com/documents/appnotes/an2232c - 02_ft2232cbitmode.pdf an232b - 01, ft232bm/ft245bm bit bang mode http://www.ftdichip.com/documents/appnotes/an232b - 01_bitbang.pdf an2232l_108, command processor for mpsse and mcu host bus emulation modes. http://www.ftdichip.com/documents/appnotes/an_108_command_processor_for_mpsse_and_mcu_hos t_bus_emulation_modes.pdf useful applica tion notes and projects http://www.ftdichip.com/documents/appnotes/an_107_advanceddriveroptions_an_000073.pdf http://www.ftdichip.com/documents/appnotes/an_121_ftdi_device_eeprom_user_area_usage.pdf http://www.ftdichi p.com/documents/appnotes/an_120_aliasing_vcp_baud_rates.pdf http://www.ftdichip.com/resources/utilities/an_127_user_guide_for_ft2232hd_fac tory%20test%20uti lity.pdf http://www.ftdichip.com/documents/appnotes/an_131_FT2232D_h_fast%20opto - isolated%20serial%20interface%2 0mode.pdf http://www.ftdichip.com/documents/appnotes/an2232c - 02_ft2232cbitmode.pdf http://www.ftdichip.com/documents/appnotes/an_108_command_processor_for_mpsse_and_mcu_hos t_bus_emulation_modes.pdf http://www.ftdichip.com/projects /mpsse.htm#spi http://www.ftdichip.com/projects/mpsse.htm#i2c http://www.ftdichip.com/projects/mpsse.htm#jtag
copyright ? 2010 future technology devices international limited 59 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 appendix b - list of figures and tables list of figures figure 2.1 FT2232D block diagram ................................ ................................ ................................ . 4 figure 3.1 48 pin lqfp package pin out and schematic symbol ................................ .......................... 7 figure 6.1 bus powered configuration ................................ ................................ ........................... 21 figure 6.2 self powered configuration ................................ ................................ ........................... 22 figure 6.3 bus powered circuit with 3.3v logic drive and io supply voltage ................................ .......... 23 figure 6.4 self powered circuit with 3.3v logic drive and io supply voltage ................................ ......... 24 figure 6.5 bus powered circuit with power control ................................ ................................ ........... 25 figure 6.6 bus powered circuit wit h power control and 3.3v logic drive/ io supply voltage ................ 26 figure 7.1 3 - pins ceramic resonator configuration ................................ ................................ ......... 27 figure 7.2 crystal or 2 - pin ceramic resonator configuration ................................ ............................ 28 figure 7.3 eeprom configuration ................................ ................................ ................................ . 29 figure 8.1 usb <=> dual port rs232 c onverter configuration ................................ ......................... 32 figure 8.2 usb <=> dual port rs422 converter configuration ................................ ......................... 33 figure 8.3 usb <=> dual port rs485 converter configuration ................................ ......................... 34 figure 8.4 dual led configuration ................................ ................................ ................................ 35 figure 8.5 single led configuration ................................ ................................ .............................. 36 figure 8.6 fifo read cycle ................................ ................................ ................................ .......... 38 figure 8.7 fifo write cycle ................................ ................................ ................................ ......... 38 figu re 8.8 microprocessor interface example ................................ ................................ ................. 39 figure 8.9 synchronous bit bang mode signal timing ................................ ................................ ...... 42 figure 8.10 mcu host bus emulation mode signal timing - write cycle ................................ ............. 45 figure 8.11 mcu host bus emulation mode signal timing - read cycle ................................ ............. 46 figure 8.12 mcu host bus emulation mode signal timing - clock (osc) signal ................................ .. 46 figure 8.13 mcu host bus emulation example - usb <=> can bus interface ................................ .... 47 figure 8.14 fast opto - isolated serial signal timing diagram ................................ ........................... 49 figure 8.15 fast opto - isolated serial data format - data output from the FT2232D ........................... 49 figure 8.16 fast opto - isolated serial data format - data input to the FT2232D ................................ . 50 figure 8.17 fast opto - isolated serial interface example ................................ ................................ .. 51 figure 8.18 cpu fifo interface mode - signal timing ................................ ................................ ...... 53 figure 8.19 cpu fifo single channel interface example 1 ................................ .............................. 54 figure 8.20 cpu fifo dual channel interface example 2 ................................ ................................ . 55 figure 9.1 48ld lead free lqfp package dimensions ................................ ................................ ..... 56
copyright ? 2010 future technology devices international limited 60 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 list of tables table 1.1 part numbers ................................ ................................ ................................ ................. 2 table 3.1.1 usb interface group ................................ ................................ ................................ .... 8 table 3.2.2 eeprom interface group ................................ ................................ ............................... 8 table 3.3.3 miscellaneous signal group ................................ ................................ ........................... 8 table 3.4.4 power and ground group ................................ ................................ .............................. 9 table 3.5.5 pin definition by chip mode (channel a) ................................ ................................ ....... 10 table 3.6.6 pin definition by chip mode (channel b) ................................ ................................ ....... 11 table 3.7.7 io mode command hex values ................................ ................................ ..................... 12 table 5.1 absolute maximum ratings ................................ ................................ ........................... 16 table 5.2 operating voltage and current ................................ ................................ ....................... 17 table 5.3 io pin characteristics (vccio = 5.0v, standard drive level) **note 12 .............................. 17 table 5.4 io pin characteristics (vccio = 3.0v C 3.6v, standard drive level) **note 12 .................... 17 table 5.5 io pin characteristics (vccio = 5.0v, standard drive level) **note 12 a nd 13 .................. 18 table 5.6 io pin characteristics (vccio = 3.0v - 3.6v, standard drive level) **note 12 and 13 .......... 18 table 5.7 xtin / xtout pin characteristics ................................ ................................ ................... 18 table 5.8 reset# and test eecs, eesk, eedata pin characteristics **note 14 .............................. 19 table 5.9 rstout# pin characteristics ................................ ................................ ......................... 19 table 5.10 usb i/o pin (usbdp, usbdm) characteristics **note 15 ................................ ................ 19 table 5.11 esd tolerance ................................ ................................ ................................ ............ 20 table 8. 1 232 uart mode the io signal lines description ................................ ................................ 31 table 8.2 fifo data bus group **note 17 ................................ ................................ ..................... 37 table 8.3 fifo control interface group ................................ ................................ ......................... 37 table 8.4 read cycle ................................ ................................ ................................ ................... 38 table 8.5 wr ite cycle ................................ ................................ ................................ .................. 39 table 8.6 bit - bang data bus group **note 24 ................................ ................................ ............... 40 table 8.7 bit - bang control interface group ................................ ................................ .................... 40 table 8.8 synchronous bit bang mode signal timing ................................ ................................ ....... 42 table 8.9 mpsse mode configuration ................................ ................................ ............................ 43 table 8.10 mcu host bus emulation mode io signal lines configuration ................................ ........... 44 table 8.11 mcu host bus emulation mode signal timing - write cycle ................................ .............. 45 table 8.12 mcu host bus emulation mode signal timing - read cycle ................................ ............... 46 table 8.13 mcu host bus emulation mode signal timing - clock (osc) signal ................................ .... 47 table 8.14 fast opto - isolated serial interface mode io signal lines configuration .............................. 48 table 8.15 fast opto - isolated serial signal timing diagram ................................ ............................. 49 table 8.16 fifo data bus group **note 20 ................................ ................................ ................... 52 table 8.17 fifo control interface group ................................ ................................ ........................ 52 table 8.18 chip select bit and address bit truth table ................................ ................................ ..... 52 table 8.19 status data bits ................................ ................................ ................................ .......... 52 table 8.20 cpu fifo interface mode - signal timing ................................ ................................ ....... 53
copyright ? 2010 future technology devices international limited 61 document no.: ft_000173 FT2232D dual usb to serial uart /fifo ic datasheet version 2.05 clearance no.: ftdi# 127 appendi x c - revision history version 0. 91 initial datasheet created october 200 6 version 2.00 contact details edited and corrected FT2232D features 10/11/09 ( removed reference to isochronous support) added links for sample project code that demonstrate how to use the devices multi - protocol synchronous serial engine (mpsse) added windows 7 support. added tid number. added apps notes references. released on the web version 2.01 corrected table pin no . on table 3.1.1 27/01/10 corrected figure 6. 6 label from self powered to b us powered version 2.02 added esd specifications 21/05/10 version 2.03 edited table 5.2 31/05/10 version 2.04 edited table 3 .5.5 and 3.5.6 cpu fifo mode signal names 27/07/10 added section 1.2 usb compliant edited figure 2.1 version 2.05 corrected table 5.5 and 5.6 to show high current 1 8 /04/11 corrected section 8.7 title


▲Up To Search▲   

 
Price & Availability of FT2232D

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X